<?php

namespace app\common\model\system;
use app\common\model\BaseModel;

class SystemConfig extends BaseModel
{

    public static function tablePK(): ?string
    {
        return 'config_id';
    }

    public static function tableName(): string
    {
        return 'system_config';
    }

    public function classify()
    {
        return $this->hasOne(SystemConfigClassify::class, 'config_classify_id', 'config_classify_id');
    }

}